﻿using System;
using System.Collections.Generic;
using System.Text;

namespace T.FAS.Runtime.Metadata.Entity
{
    /// <summary>
    /// 冲突检测结果
    /// </summary>
    /// <remarks>类的补充说明</remarks>
    public class ConflictMessage
    {
        /// <summary>
        /// 是否有冲突
        /// true 有
        /// false 无
        /// </summary>
        public bool Conflict { get; set; }

        /// <summary>
        /// 冲突信息的描述
        /// </summary>
        public string Message { get; set; }

        /// <summary>
        /// 支持的冲突处理策略
        /// </summary>
        public List<ConflictHandlePolicy> HandlePolicy { get; set; }

        public ConflictMessage()
        {
            this.Conflict = false;
        }
    }

}
